using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

[CustomEditor(typeof(BlendShapesStructTemplate))]
public class BlendShapesStructTemplateEditor : Editor
{
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();

        if (target == null)
        {
            return;
        }

        GUILayout.Space(10);

        if (GUILayout.Button("加载表情"))
        {
            (target as BlendShapesStructTemplate).LoadShapes();
        }
    }
}